home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ctlhtmlc / options.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-06  |  2.8 KB  |  101 lines

  1. /*---------------------------------------------------------------------------*\
  2.  | Options.h    - CtlHTML(tm) Control Library Test Program                   |
  3.  |                Windmill Point Software, Alburg, VT 05440                  |
  4.  |                Copyright (c) 1999, Windmill Point Software                |
  5.  |                All Rights Reserved.                                       |
  6. \*---------------------------------------------------------------------------*/
  7.  
  8. #if !defined(AFX_OPTIONS_H__A7DAF661_E1DE_11D2_8171_00104BCD3AB4__INCLUDED_)
  9. #define AFX_OPTIONS_H__A7DAF661_E1DE_11D2_8171_00104BCD3AB4__INCLUDED_
  10.  
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CGeneralOptions dialog
  17.  
  18. class CGeneralOptions : public CPropertyPage
  19. {
  20.     DECLARE_DYNCREATE(CGeneralOptions)
  21.  
  22. // Construction
  23. public:
  24.     CGeneralOptions();
  25.     ~CGeneralOptions();
  26.  
  27. // Dialog Data
  28.     //{{AFX_DATA(CGeneralOptions)
  29.     enum { IDD = IDD_GENERAL_OPTIONS };
  30.     int        m_RightJustify;
  31.     UINT       m_FontSize;
  32.     CString    m_Typeface;
  33.     BOOL       m_DisableControls;
  34.     BOOL       m_DitherGraphics;
  35.     CString    m_HelpPath;
  36.     BOOL       m_UseDisabled3D;
  37.     //}}AFX_DATA
  38.  
  39. // Overrides
  40.     // ClassWizard generate virtual function overrides
  41.     //{{AFX_VIRTUAL(CGeneralOptions)
  42.     protected:
  43.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  44.     virtual BOOL OnInitDialog();
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. protected:
  49.     // Generated message map functions
  50.     //{{AFX_MSG(CGeneralOptions)
  51.     afx_msg void OnFontBrowse();
  52.    afx_msg void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized );
  53.     //}}AFX_MSG
  54.     DECLARE_MESSAGE_MAP()
  55. };
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58. // COptions
  59.  
  60. class COptions : public CMcPropertySheet
  61. {
  62.     DECLARE_DYNAMIC(COptions)
  63.  
  64. // Construction
  65. public:
  66.     COptions(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  67.     COptions(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
  68.  
  69. // Attributes
  70. public:
  71.  
  72. // Operations
  73. public:
  74.  
  75. // Overrides
  76.     // ClassWizard generated virtual function overrides
  77.     //{{AFX_VIRTUAL(COptions)
  78.     public:
  79.     virtual BOOL OnInitDialog();
  80.     //}}AFX_VIRTUAL
  81.  
  82. // Implementation
  83. public:
  84.    CGeneralOptions m_General;
  85.     virtual ~COptions();
  86.  
  87.     // Generated message map functions
  88. protected:
  89.     //{{AFX_MSG(COptions)
  90.     afx_msg void OnDestroy();
  91.    afx_msg void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized );
  92.     //}}AFX_MSG
  93.     DECLARE_MESSAGE_MAP()
  94. };
  95.  
  96. /////////////////////////////////////////////////////////////////////////////
  97. // {{AFX_INSERT_LOCATION}}
  98. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  99.  
  100. #endif // !defined(AFX_OPTIONS_H__A7DAF661_E1DE_11D2_8171_00104BCD3AB4__INCLUDED_)
  101.